/* index.css是用来美化首页的 */
* {
    margin: 0;
    padding: 0;
    /* 内减模式 */
    box-sizing: border-box;
}

li {
    list-style: none;
}
a {
    text-decoration: none;
}
/* 清除浮动 */
.clearfix:before,.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}

body {
    background-color: #f3f5f7;
}

/* 版心 */
.wrapper {
    width: 1200px;
    margin: 0 auto;
}

/* 头部 */
.header {
    height: 42px;
    /* background-color: pink; */
    margin: 30px auto;
}

h1 {
    float: left;
}

/* 导航区域 */
.nav {
    float: left;
    margin-left: 70px;
    height: 42px;
    /* background-color: green; */
}

/*li默认是换行排列，若要使其在一行排列，则需要设置浮动  */
.nav li {
    float: left;
    margin-right: 26px;
}
.nav li a {
    /* display: inline-block; */
    display: block;
    padding: 0 9px;
    height: 42px;
    line-height: 42px;
    /* border-bottom: 2px solid #00a4ff; */
    font-size: 18px;
    color: #050505;
}

/* 伪类选择器：选中鼠标悬停在元素上的状态，设置样式 */
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}
/* 搜索区域 */
.search {
    float: left;
    margin-left: 59px;
    /* width: 412px; */
    height: 40px;
    border: 1px solid #00a4ff;
}
.search input {
    float: left;
    padding-left: 20px;
    width: 360px;
    height: 38px;
    border: 0;
}
/* 控制placeholder的样式 */
.search input::placeholder {
    font-size: 14px;
    color: #bfbfbf;
}
/* 搜索区域的搜索按钮 */
.search button {
    float: left;
    width: 50px;
    height: 40px;
    background-image: url(../images/btn.png);
    border: 0;
}
/* 用户区域 */
.user {
    float: right;
    /* width: 118px; */
    height: 42px;
    margin-right: 35px;
    line-height: 42px;
}

.user img {
    /* 调节图片垂直对齐方式：middle:居中 */
    vertical-align: middle;
}

.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner .wrapper {
    height: 420px;
    background-image: url(../images/banner.png);
}

/* 左分类区域 */
.banner .left {
    float: left;
    padding: 0 20px;
    width: 190px;
    height: 420px;
    background-color: rgba(0,0,0,0.3);
    /* 行高属于控制文字的属性，能继承 */
    line-height: 45px;
}

.banner .left span {
    float: right;
}

.banner .left a {
    font-size: 14px;
    color: #fff;
}
.banner .left a:hover {
    color: #00b4ff;
}

/* 右分类区域 */
.banner .right {
    float: right;
    margin-top: 50px;
    width: 228px;
    height: 300px;
    background-color: #fff;
} 

.banner .right h2 {
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;

    font-size: 18px;
    font-weight: normal;
    color: #fff;
}

.banner .right .content {
    padding: 0 18px;
}

.banner .right .content dl {
    padding: 12px 0;
    border-bottom: 2px solid #e5e5e5;
}
.banner .right .content dt {
    font-size: 16px;
    color: #4e4e4e;
}

.banner .right .content span {
    font-size: 14px;
    color: #4e4e4e;
}
.banner .right .content dd {
    font-size: 12px;
    color: #a5a5a5;
}

.banner .right .more {
    display: block;
    /* margin: 4px 14px 0; */
    margin: 4px auto 0;
    width: 200px;
    height: 40px;
    border: 1px solid #00a4ff;

    font-size: 16px;
    color: #00a4ff;
    font-weight: 700;
    text-align: center;
    line-height: 40px;
}

/* 精品推荐导航 */
.goods {
    margin-top: 8px;
    padding-left: 34px;
    padding-right: 26px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 2px 3px 0px 
		rgba(118, 118, 118, 0.2);
    
        line-height: 60px;
}
.goods h2 {
    float: left;
    font-size: 16px;
    color: #00a4ff;
    font-weight: 400;
}

.goods ul {
    float: left;
    margin-left: 30px;
}

.goods ul li {
    float: left;
}

.goods li a {
    border-left: 1px solid #bfbfbf;
    padding: 0 30px;
    font-size: 16px;
    color: #050505;

}

.goods .xingqu {
    float: right;
    font-size: 14px;
    color: #00a4ff;
}

/* 精品推荐课程 */
.box {
    margin-top: 35px;

}

.box .title {
    height: 40px;
}

.box .title h2 {
    float: left;
    font-size: 20px;
    color: #494949;
    font-weight: 400;
}

.box .title a {
    float: right;
    margin: 8px 30px 0 0;
    font-size: 12px;
    color: #a5a5a5;
}

.box .content li {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    width: 228px;
    height: 270px;
    background-color: #fff;
}

.box .content li:nth-child(5n) {
    margin-right: 0%;
}

.box .content li h3 {
    padding: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #050505;
}

.box .content li p {
    padding: 0 20px;
    font-size: 12px;
    color: #999999;
}
.box .content li span {
    color: #ff7c2d;
}

/* 版权区域 */
.footer {
    margin-top: 40px;
    padding-top: 30px;
    height: 417px;
    background-color: #fff;
}

/* footer模块左区域 */
.footer .left {
    float: left;

}

.footer .left p {
    margin: 20px 0 10px;
    font-size: 12px;
    color: #666;
}

.footer .left a {
    display: inline-block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    font-size: 16px;
    color: #00a4ff;
    text-align: center;
    line-height: 36px;
}

/* footer模块右区域 */
.footer  .right {
    float: right;
}

.footer .right dl {
    float: left;
    margin-left: 120px;
}

.footer .right dl dt {
    font-size: 16px;
    color: #333333;
}

.footer .right dl a {
    font-size: 12px;
    color: #333333;
}